global !p

from mdtex.scopes import math, text

endglobal

context "math()"
snippet data "数据集 Data Set" w
\left\lbrace (\bm{x}_i, y_i) \right\rbrace_{i=1}^m
endsnippet

context "math()"
snippet datas "数据集 Data Set" w
\left\lbrace (\bm{x}_1, y_1),\, (\bm{x}_2, y_2),\, \cdots,\, (\bm{x}_m, y_m) \right\rbrace
endsnippet

context "math()"
snippet dats "数据集 Data Set" w
\left\lbrace (\bm{x}_1, \bm{y}_1),\, (\bm{x}_2, \bm{y}_2),\, \cdots,\, (\bm{x}_m, \bm{y}_m) \right\rbrace
endsnippet

context "math()"
snippet data_0 "无监督数据集 Data Set" w
\left\lbrace \bm{x}_i \right\rbrace_{i=1}^m
endsnippet

context "math()"
snippet datas_0 "无监督数据集 Data Set" w
\left\lbrace \bm{x}_1,\, \bm{x}_2,\, \cdots,\, \bm{x}_m \right\rbrace
endsnippet

context "math()"
snippet dats_0 "无监督数据集 Data Set" w
\left\lbrace \bm{x}_1,\, \bm{x}_2,\, \cdots,\, \bm{x}_m \right\rbrace
endsnippet

context "math()"
snippet ins "示例 Instance" w
\bm{x} = (x_1; x_2; \cdots; x_d)
endsnippet

context "math()"
snippet inst "示例 Instance" w
\bm{x}_i = (x_{i1}; x_{i2}; \cdots; x_{id})
endsnippet

context "math()"
snippet ent "信息熵 Entropy" w
\operatorname{Ent}
endsnippet

context "math()"
snippet entd "信息熵 Entropy" w
\operatorname{Ent}(D)
endsnippet

# context "text()"
# snippet hy "假设空间" w
# $\mathcal{H}$ 
# endsnippet

# context "text()"
# snippet al "学习算法" w
# $\mathfrak{L}$ 
# endsnippet

# context "text()"
# snippet cc "概念类" w
# $\mathcal{C}$ 
# endsnippet
